{// 引入标签库 }
<tagLib name="html" />
{// 加载头部公共文件 }
<include file="Public:header" />
<script type="text/javascript" src="./Public/Admin/Js/artDialog/artDialog.js?skin=default"></script>
<load href="__PUBLIC__/Js/artDialog/plugins/iframeTools.js" />
<script type="text/javascript">
<!--
function pay_confirm(id){
	if(!confirm('是否确认这笔汇款？'))
		return false;

	$.post(
			"__URL__/confirm/",
			{id:id},
			function(data){
				if(data.status == 0){
					alert(data.info);
					return ;
				}
				alert('确认成功！');
				window.location.href = location.href;
			},
			'json');
}
//-->
</script>
<!-- 菜单区域  -->

<!-- 主页面开始 -->
<div id="main" class="main" >

<!-- 主体内容  -->
<div class="content" >
<div class="title">付款管理</div>
<!--  功能操作区域  -->
<div class="operate" >
<!-- 查询区域 -->
<div class="fRig">
<form method='post' action="__URL__">
<div class="fLeft">
订单编号：<input type="text" name="order_number" id="order_number" title="" class="" value="{$Think.request.order_number}">
</div>
<html:imageBtn type="submit" name="search" value="查询" style="impBtn hMargin fLeft shadow" />
</div>
</form>
</div>
<!-- 功能操作区域结束 -->

<!-- 列表显示区域  -->
<div class="list" >
<table id="checkList" class="list" cellpadding="0" cellspacing="0">
	<tbody>
		<tr>
			<td height="5" colspan="9" class="topTd"></td>
		</tr>
		<tr class="row">
			<th>用户名</th>
			<th>订单编号</th>
			<th>汇款金额</th>
			<th>汇款日期</th>
			<th>汇款银行</th>
			<th>状态</th>
			<th>操作员</th>
		</tr>
		<empty name="list">
		<tr class="row" onmouseover="over(event)" onmouseout="out(event)"
			onclick="change(event)">
			<td colspan="9"></td>
		</tr>
		</empty>
		
		<volist name="list" id="vo">
		<tr class="row" onmouseover="over(event)" onmouseout="out(event)"
			onclick="change(event)">
			<td><a href="javascript:void(0);" onclick="show_user_info({$vo.user_id})">{$vo.member.true_name}</a></td>
			<td><a href="{:U('/Order/detail/id/'.$vo['order_id'])}">{$vo.order_number}</a></td>
			<td>฿{$vo.amount}</td>
			<td>{$vo.pay_time|toDate}</td>
			<td>{$vo.bank}</td>
			<td>
				<eq name="vo.status" value="0">
				<input type="button" value="确认" onclick="pay_confirm({$vo.id})"/>
				<else/>已确认</eq>
			</td>
			<td>{$vo.admin_user.true_name}</td>
		</tr>
		</volist>
		<tr>
			<td height="5" colspan="9" class="bottomTd"></td>
		</tr>
	</tbody>
</table>
</div>
<!--  分页显示区域 -->
<div class="page">{$page}</div>
<!-- 列表显示区域结束 -->
</div>
<!-- 主体内容结束 -->
</div>
<!-- 主页面结束 -->

